package com.angel.architecture.services.impl;

import java.util.Collection;

import com.angel.architecture.daos.factory.ArchitectureDAOFactory;
import com.angel.architecture.persistence.beans.Role;
import com.angel.architecture.services.RoleService;

public class RoleServiceImpl extends GenericServiceImpl implements RoleService {

    public Collection<Role> findAllByDescription(String description) {
        return ArchitectureDAOFactory.createInstance().getRoleDAO().findAllByDescription(description);
    }
}
